package com.ruoyi.peopleinfo.service;

import java.util.List;
import com.ruoyi.peopleinfo.domain.PeopleHistory;

/**
 * 就诊历史Service接口
 * 
 * @author y
 * @date 2022-03-03
 */
public interface IPeopleHistoryService 
{
    /**
     * 查询就诊历史
     * 
     * @param id 就诊历史主键
     * @return 就诊历史
     */
    public PeopleHistory selectPeopleHistoryById(Integer id);

    /**
     * 查询就诊历史列表
     * 
     * @param peopleHistory 就诊历史
     * @return 就诊历史集合
     */
    public List<PeopleHistory> selectPeopleHistoryList(PeopleHistory peopleHistory);

    /**
     * 新增就诊历史
     * 
     * @param peopleHistory 就诊历史
     * @return 结果
     */
    public int insertPeopleHistory(PeopleHistory peopleHistory);

    /**
     * 修改就诊历史
     * 
     * @param peopleHistory 就诊历史
     * @return 结果
     */
    public int updatePeopleHistory(PeopleHistory peopleHistory);

    /**
     * 批量删除就诊历史
     * 
     * @param ids 需要删除的就诊历史主键集合
     * @return 结果
     */
    public int deletePeopleHistoryByIds(Integer[] ids);

    /**
     * 删除就诊历史信息
     * 
     * @param id 就诊历史主键
     * @return 结果
     */
    public int deletePeopleHistoryById(Integer id);
}
